package com.nuoniu.sibanyun.entity.vo.reportVo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @ClassName ProductionWorkCumSummaryVo
 * @Description TODO
 * @Author 白强
 * @Date 2022/6/14 9:45
 * @Version 1.0
 **/
@Data
@ApiModel("生产订单执行汇总表")
public class ProductionWorkCumSummaryVo {

    @ApiModelProperty(value = "生产车间")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "生产车间名称")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "产品Id")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "产品名称")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "产品编码")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "bom版本号")
    @TableField("bom_name")
    private String bomName;

    @ApiModelProperty(value = "物料主计量名称")
    @TableField("base_unit_name")
    private String baseUnitName;


    @ApiModelProperty(value = "数量（主计量）")
    @TableField("base_quantity")
    private BigDecimal baseQuantity;

    @ApiModelProperty(value = "累计合格数量")
    @TableField("cum_qualified_quantity")
    private BigDecimal cumQualifiedQuantity;

    @ApiModelProperty(value = "累计不合格数量")
    @TableField("cum_unqualified_quantity")
    private BigDecimal cumUnqualifiedQuantity;

    @ApiModelProperty(value = "累计返工数量")
    @TableField("cum_rework_quantity")
    private BigDecimal cumReworkQuantity;

    @ApiModelProperty(value = "累计报废数量")
    @TableField("cum_scrap_quantity")
    private BigDecimal cumScrapQuantity;


}
